<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"  %>
  <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ page import="java.util.List"%><%@ page import="java.util.Arrays"%>
<%@ page import="java.sql.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body bgcolor="cornsilk">
<center>
<hr>
<font color="red" size="4" style="">
<p>EVENTS</p>
</font>
<hr>
<table>
<tr>
<td><b>event ID</b></td>
<td><b>event Name</b></td>
<td><b>start date</b></td>
<td><b>end date</b></td>
<td><b>fees</b></td>
<td></td>
<td></td>
</tr>

<c:forEach items="${el}" var="i">

<tr>
<td> ${i.eventid}
  </td>
<td>
${i.eventName} 
</td>
<td>
${i.startDate}
</td>
<td>
${i.endDate}
</td>
<td>
${i.fees}
</td>

<td><a href="EnrollInterface.jsp?event_id=${i.eventid}">     -ENROLL-</a></td>

</tr>

</c:forEach>


</table>
<hr>
<br>
<a href="EnrollMenu.jsp">BACK</a>
<br>
</center>
</body>
</html>